import {
  get,
  post,
  put,
  del
} from '../utils/request.js'

export const addCart = params => post('/customer/cart', params)

export const getCartList = params => get('/customer/cart', params)

export const updateCart = params => put('/customer/cart', params)

export const deleteCart = id => del('/customer/cart' + `/${id}`)
